package org.yihang.annotation.easyui;

import java.lang.annotation.*;

import static org.yihang.annotation.easyui.SearchType.Text;

@Documented
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Search {

	public String label() default "";

	public int width() default 100;

	public SearchType type() default Text;

	public String source() default "";
	
	public String valueField() default "value";
	
	public String textField() default "text";

}
